package com.gec.teams.wechat.mapper;

import com.gec.teams.wechat.pojo.TbWorkday;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author Admin
* @description 针对表【tb_workday】的数据库操作Mapper
* @createDate 2024-06-12 22:40:29
* @Entity com.gec.teams.wechat.pojo.TbWorkday
*/
@Mapper
public interface TbWorkdayMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TbWorkday record);

    int insertSelective(TbWorkday record);

    TbWorkday selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbWorkday record);

    int updateByPrimaryKey(TbWorkday record);

    @Select("select id from tb_workday where date=current_date limit 1")
    Integer isTodayWorkDay();
}
